pub enum Errno {
    IsOk,
    ErrUserNotFound,
    ErrPassword,
    ErrValidation,
    ErrValidationAdd(String),
    ErrDatabase,
    ErrTopicNotFound,
    ErrDeviceNotFound,
    ErrCoreNotFound,
    ErrModulesNotFound,
    ErrToken,
}

// pub enum Errno {
//     IsOk,
//     ErrUserNotFound,
//     InternalServerError,
//     ErrBind,
//     ErrValidation,
//     ErrDatabase,
//     ErrToken,
//     ErrEncrypt,
//     ErrTokenInvalid,
//     ErrPasswordIncorrect,
// }
